
	*********************************
	*				*
	* NOTES ON USING TSC'S 6800	*
	* TEXT EDITING SYSTEM WITH	*
	* THE HM-68 HOMEMADE COMPUTER	*
	*				*
	*********************************

  This document applies only to the cassette/paper tape version of TSC's Text Editing System.  I have written a small patch to allow the loading and saving of text files into and out of the TES utilizing a "modern" (2023) Linux computer's serial terminal emulator (in my case, minicom).  All the patch does is add a linefeed prior to ending a line of saved text.  That way, Mousepad, or Notepad++, or whatever, can read the generated file.  Things written with Mousepad, etc., can be read by TES after changing the text document to have carriage-return-only line endings.

  To patch the original TES (can be downloaded from deramp.com):
	1. Load the TES
	2. Load the patch
	3. Punch a new S Record with start at $0200 and end at $149C,
		with $7F48,9 set to $0200 (Command 'P', then 'E' in SWTBUG)
	4. Edit/clean up the resultant S Record, and add this line to the top:
		S10D00B100002023000600000000F8

  To save your work from TES to the Linux machine via serial connection:
	1. Start a text capture on the serial terminal emulator
	2. From the # prompt, type the command SAVE
	3. After a short delay, the text will appear on the screen line by line
	4. When finished, the # prompt will return
	5. Stop the text capture, then use your favorite editor to clean up
		the beginning and end of the captured text

  To load in a text file to TES from the Linux machine via serial connection:
	1. The file should be a plain text file, with "CR only" as the
		line ending setting for the document
	2. Type the READ command in TES, wait 2-3 seconds, then initiate a text
		transfer from the serial terminal emulator
	3. Once the transfer is finished, wait 2-3 seconds, then enter CTRL-Z
		to tell TES the file has finished loading

  User text RAM starts at $1600, which allows for about 26 KB of text before TES will start to overwrite the Monster's modified SWTBUG's stack and data at $7F00.  Zero page locations $97 and $99 hold the beginning and end locations of the currently loaded text file.  Once I get a better file system for the Monster-68, I'll probably write a save-to-disk routine.  The start of the user text RAM is determined at location $0358, and might need to be moved up a page for CF card/disk routines.
  Also, once I install a PIA or VIA, I may have a go at writing a print routine for my ancient Okidata 80.  When keyboard and video are done (Spring '24 project), this could be a standalone text editing system.  But it's still pretty cool as-is.
  The user's manual and the included source code found at deramp.com is for the disk version of the editor, but there is more than enough information in the source to figure out a lot more about this cassette-based version.

-- Dave Hassler
